<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cz')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cz" data-rule="required" data-source="ycmx/cz" class="form-control selectpage"
                 data-primary-key="name" name="row[cz]" type="text">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ch" class="form-control" name="row[ch]" type="text" value="浙C">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jsy')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jsy" class="form-control" name="row[jsy]" type="text" >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ksdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ksdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD"
                data-use-current="true" name="row[ksdate]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jsdate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jsdate" class="form-control datetimepicker" data-date-format="YYYY-MM-DD"
                data-use-current="true" name="row[jsdate]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qd" class="form-control" name="row[qd]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mdd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mdd" class="form-control" name="row[mdd]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zc" data-rule="required" data-source="ycmx/zcdw" class="form-control selectpage"
                 data-primary-key="name" name="row[zc]" type="text">

        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lxr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lxr"  name="row[lxr]" type="text"  data-params='{"custom[pid]":"name"}'
                data-source="ycmx/lxr" class="form-control selectpage" data-primary-key="name" data-select-only="true">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dh" class="form-control" name="row[dh]" type="text"  >
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Je')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-je" class="form-control" name="row[je]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bz')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bz" class="form-control" name="row[bz]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio"
                        value="{$key}" {in name="key" value="未结账" }checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>